<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <style>
    #box {
      border: 2px solid #111;
      width: 200px;
      height: 200px;
      margin: 0 auto;
    }
  </style>
</head>
<body>
  

  <div id="box" data-big-img="goods-big.gif">
    <img src="goods.gif" alt="">
  </div>

  <script type="text/javascript"  src="xuzoom.js"></script>
  <script type="text/javascript">
    
    window.onload = function () {
      var box = document.getElementById('box')

      xuzoom(box, {
        offsetWidth: 200,
        offsetHeight: 200,
        offsetX: 10,
        offsetY: 0
      })
    }

  </script>
</body>
</html>